-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Upgrading minimatch version to fix MSRC vulnerability issue #21035
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
/azp run |
Is there any specific reason we are updating to version 3.0.5, the latest version is 10.0.1 |
Please do share the canary pipeline links for the tasks changed. |
/azp run |
Latest versions are causing issues in pattern matching. Hence, we have use v4. |
/azp run |
Since we hae updated Major version the Risk should not be Low, and it should atleast be medium, BTW did you check what other changes are there in V4 and validated the task code that the changes does not impact the functionality |
Key minimatch v4 changes:
|
Hi @rishabhmalikMS |
I investigated this, it is due to the variables missing those pools which are set in the pipelines, canary pipelines |
okay, lets create a task to update these variables |
Context
Upgrading minimatch version to fix MSRC vulnerability issue.
📌 How to link to ADO Work Items
AB#2281543
Task Name
ExtractFilesV1, GulpV0, GulpV1, XamarinTestCloudV1
Description
A ReDoS vulnerability exists in the braceExpand function of the minimatch package, which can be exploited using crafted input patterns.
Fix: Upgrade minimatch to version 3.0.5 or later.
ICM link for reference: https://portal.microsofticm.com/imp/v5/incidents/details/31000000365389/summary
Key minimatch v4 changes:
Canary runs
ExtractFiles: https://dev.azure.com/canarytest/PipelineTasks/_build/results?buildId=162239&view=results
GulpV0: https://dev.azure.com/canarytest/PipelineTasks/_build/results?buildId=162240&view=results
GulpV1: https://dev.azure.com/canarytest/PipelineTasks/_build/results?buildId=162241&view=results
Risk Assessment (Low / Medium / High)
Medium. Major version upgrade of minimatch package. Tested by running canary tests pipeline and unit tests for updated tests.
Unit Tests Added or Updated (Yes / No)
No new tests added
Additional Testing Performed
Tested by running canary tests pipeline and unit tests for updated tests
Documentation Changes Required (Yes / No)
No
Checklist